package com.ma.controller;

import com.ma.model.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MulYmlController {

    @Autowired
    Person person;

    @GetMapping("hh")
    public void getMessage(){
        System.out.println("person :"+person.toString());
    }
}
